package com.hunt.service.app;

import com.hunt.model.app.CollectStock;
import com.hunt.model.app.CollectStockGroupVo;
import com.hunt.model.app.RealTimeSimpleStockData;
import com.hunt.util.Result;

import java.util.List;


public interface CollectStockService {

    List<CollectStockGroupVo> onlyFindCollectStockGroupList(String userId,String stockBase);

    CollectStock findCollectStockGroupInfo(String userId, String groupId);

    Result addCollectStockGroup(String userId, String groupName, String stockInfo);

    boolean addCollectStock2Group(String userId,String groupId, String stockInfo);

    Result operationWithinGroup(String userId, String group);

    Result operationGroup(String userId, String groupList);

//    boolean syncStock2Group(String userId, String stockInfo, List<CollectStockGroupVo> groupList);

    boolean syncStock2Group(String userId, String stockInfo, List<String> groupIdList);

    CollectStock selectCollectStockDetails(String userId);

    void updateStockSuffix(String userId);

    List<RealTimeSimpleStockData> getCollectStockbylimit(String userId, String groupId, String sort,String type);
}
